package com.jexps.main;

public class InnerStaticTest {

    class StatTest {
        {
            System.out.println("static block in inner class");
        }

        public StatTest() {
            new InnerStaticTest();
        }
    }

    {
        System.out.println("static block in outer class");
    }

    public static void main(String[] args) throws InstantiationException,
            IllegalAccessException {
        InnerStaticTest rs = new InnerStaticTest();
        InnerStaticTest.StatTest n = rs.new StatTest();
        System.out.println(n.getClass().toString());
    }
}